package com.example.ljw.paperlive.ui.famliy;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.example.ljw.paperlive.R;

public class LiveActivity extends AppCompatActivity {
    //webview
    private WebView webview_live;
    private  String url=null;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_live);
        Intent intent=getIntent();
        url=intent.getStringExtra("URL");
        initwebView();
    }

    private void initwebView() {
        webview_live = (WebView) findViewById(R.id.webview_live);
        webview_live.loadUrl(url);
    }



}
